Run("D:\_sppkgr\虚拟文件打包工具(Enigma Virtual Box)9.50汉化去广告版.exe")
WinWaitActive("Enigma Virtual Box 9.50 Build 20200225")
; 主程序文件名称
MouseClick("PRIMARY", 685, 375)
Send("D:\_sppkgr\update_boxed\update.exe")
; 输出虚拟文件名称
MouseClick("PRIMARY", 685, 415)
Send(@DesktopDir & "\update_boxed.exe")
; 添加-添加文件递归
MouseClick("PRIMARY", 685, 700)
Send("x")
Send("f")
Send("D:\_sppkgr\update_boxed")
Send("{ENTER}")
Send("{ENTER}")
; 文件选项-压缩文件
MouseClick("PRIMARY", 1200, 700)
Send("{SPACE}")
Send("{ENTER}")
; 打包
MouseClick("PRIMARY", 1200, 750)
Local $hWnd = WinWaitActive("进展...")
Do
	Sleep(1000)
Until ControlCommand($hWnd, "", "关闭", "isEnabled")
ControlClick($hWnd, "", "关闭")
WinWaitClose("进展...")
; 退出程序
WinClose("Enigma Virtual Box 9.50 Build 20200225")
WinWaitActive("确认")
Send("n")
WinWaitClose("确认")
WinWaitClose("Enigma Virtual Box 9.50 Build 20200225")
; 删除 OS.bin
FileDelete("D:\_sppkgr\update_boxed\OS.bin")
